<!DOCTYPE html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 85167
  Date: 2017/12/10
  Time: 11:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <c:import url="/WEB-INF/page/header.jsp"/>
</head>
<body>
<div class="col-md-12">
    <form id="inputForm" class="form-horizontal" action="${pageContext.request.contextPath}/admin/biz/billSet/save"
          method="post">
        <input type="hidden" name="id" value="${info.id}">
        <table class="table table-bordered  table-condensed dataTables-example dataTable no-footer">
            <tbody>
            <tr>
                <td class="width-15 active"><label class="pull-right"><font color="red">*</font>套餐名称：</label></td>
                <td class="width-35">
                    <input id="sn" name="name" class="form-control required" type="text" value="${info.name}"
                           aria-required="true">
                </td>
                <td class="width-15 active"><label class="pull-right"><font color="red">*</font>计费模式：</label></td>
                <td class="width-35">
                    <select class="form-control" name="billingModel">
                        <option value="0" <c:if test="${info.billingModel eq 0}">selected="selected"</c:if>>流量(L)</option>
                        <option value="1" <c:if test="${info.billingModel eq 1}">selected="selected"</c:if>>时长(天)</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="width-15 active"><label class="pull-right">数量 ：</label></td>
                <td class="width-35">
                    <input id="linkMan" name="num" class="form-control  required number" type="text" value="${info.num}">
                </td>
                <td class="width-15 active"><label class="pull-right">价格(分) ：</label></td>
                <td class="width-35">
                    <input id="linkTel" name="price" class="form-control required number" type="text" value="${info.price}">
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
<c:import url="/WEB-INF/page/footer.jsp"/>
</body>
</html>
